package com.yunchi.print.controller;

import com.yunchi.print.bean.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者：Sivan
 * 时间：2024/1/22
 */
@RestController
@RequestMapping("user")
public class UserController {

    @GetMapping("getOne")
    public User getOne(){
        System.out.println("这是小红建立了dev分支 = " + true);
        return new User(1,"Sivan");
    }


}
